Optimal. Leaf size=115 \[ \frac{\tanh ^{-1}\left (\frac{\sqrt [4]{b} \cosh (c+d x)}{\sqrt{\sqrt{a}+\sqrt{b}}}\right )}{2 b^{3/4} d \sqrt{\sqrt{a}+\sqrt{b}}}-\frac{\tan ^{-1}\left (\frac{\sqrt [4]{b} \cosh (c+d x)}{\sqrt{\sqrt{a}-\sqrt{b}}}\right )}{2 b^{3/4} d \sqrt{\sqrt{a}-\sqrt{b}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.114616, antiderivative size = 115, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {3215, 1166, 205, 208} \[ \frac{\tanh ^{-1}\left (\frac{\sqrt [4]{b} \cosh (c+d x)}{\sqrt{\sqrt{a}+\sqrt{b}}}\right )}{2 b^{3/4} d \sqrt{\sqrt{a}+\sqrt{b}}}-\frac{\tan ^{-1}\left (\frac{\sqrt [4]{b} \cosh (c+d x)}{\sqrt{\sqrt{a}-\sqrt{b}}}\right )}{2 b^{3/4} d \sqrt{\sqrt{a}-\sqrt{b}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3215
Rule 1166
Rule 205
Rule 208
Rubi steps
\begin{align*} \int \frac{\sinh ^3(c+d x)}{a-b \sinh ^4(c+d x)} \, dx &=-\frac{\operatorname{Subst}\left (\int \frac{1-x^2}{a-b+2 b x^2-b x^4} \, dx,x,\cosh (c+d x)\right )}{d}\\ &=\frac{\operatorname{Subst}\left (\int \frac{1}{-\sqrt{a} \sqrt{b}+b-b x^2} \, dx,x,\cosh (c+d x)\right )}{2 d}+\frac{\operatorname{Subst}\left (\int \frac{1}{\sqrt{a} \sqrt{b}+b-b x^2} \, dx,x,\cosh (c+d x)\right )}{2 d}\\ &=-\frac{\tan ^{-1}\left (\frac{\sqrt [4]{b} \cosh (c+d x)}{\sqrt{\sqrt{a}-\sqrt{b}}}\right )}{2 \sqrt{\sqrt{a}-\sqrt{b}} b^{3/4} d}+\frac{\tanh ^{-1}\left (\frac{\sqrt [4]{b} \cosh (c+d x)}{\sqrt{\sqrt{a}+\sqrt{b}}}\right )}{2 \sqrt{\sqrt{a}+\sqrt{b}} b^{3/4} d}\\ \end{align*}
Mathematica [C] time = 0.177202, size = 365, normalized size = 3.17 \[ -\frac{\text{RootSum}\left [-16 \text{$\#$1}^4 a+\text{$\#$1}^8 b-4 \text{$\#$1}^6 b+6 \text{$\#$1}^4 b-4 \text{$\#$1}^2 b+b\& ,\frac{2 \text{$\#$1}^6 \log \left (-\text{$\#$1} \sinh \left (\frac{1}{2} (c+d x)\right )+\text{$\#$1} \cosh \left (\frac{1}{2} (c+d x)\right )-\sinh \left (\frac{1}{2} (c+d x)\right )-\cosh \left (\frac{1}{2} (c+d x)\right )\right )-6 \text{$\#$1}^4 \log \left (-\text{$\#$1} \sinh \left (\frac{1}{2} (c+d x)\right )+\text{$\#$1} \cosh \left (\frac{1}{2} (c+d x)\right )-\sinh \left (\frac{1}{2} (c+d x)\right )-\cosh \left (\frac{1}{2} (c+d x)\right )\right )+6 \text{$\#$1}^2 \log \left (-\text{$\#$1} \sinh \left (\frac{1}{2} (c+d x)\right )+\text{$\#$1} \cosh \left (\frac{1}{2} (c+d x)\right )-\sinh \left (\frac{1}{2} (c+d x)\right )-\cosh \left (\frac{1}{2} (c+d x)\right )\right )+\text{$\#$1}^6 c-3 \text{$\#$1}^4 c+3 \text{$\#$1}^2 c+\text{$\#$1}^6 d x-3 \text{$\#$1}^4 d x+3 \text{$\#$1}^2 d x-2 \log \left (-\text{$\#$1} \sinh \left (\frac{1}{2} (c+d x)\right )+\text{$\#$1} \cosh \left (\frac{1}{2} (c+d x)\right )-\sinh \left (\frac{1}{2} (c+d x)\right )-\cosh \left (\frac{1}{2} (c+d x)\right )\right )-c-d x}{-8 \text{$\#$1}^3 a+\text{$\#$1}^7 b-3 \text{$\#$1}^5 b+3 \text{$\#$1}^3 b-\text{$\#$1} b}\& \right ]}{8 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.029, size = 142, normalized size = 1.2 \begin{align*} -{\frac{1}{2\,bd}\sqrt{ab}\arctan \left ({\frac{1}{4} \left ( -2\, \left ( \tanh \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}a+4\,\sqrt{ab}+2\,a \right ){\frac{1}{\sqrt{-ab-\sqrt{ab}a}}}} \right ){\frac{1}{\sqrt{-ab-\sqrt{ab}a}}}}-{\frac{1}{2\,bd}\sqrt{ab}\arctan \left ({\frac{1}{4} \left ( 2\, \left ( \tanh \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}a+4\,\sqrt{ab}-2\,a \right ){\frac{1}{\sqrt{-ab+\sqrt{ab}a}}}} \right ){\frac{1}{\sqrt{-ab+\sqrt{ab}a}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\int \frac{\sinh \left (d x + c\right )^{3}}{b \sinh \left (d x + c\right )^{4} - a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.90177, size = 2202, normalized size = 19.15 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: NotImplementedError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]